package com.health.record.mapper;

import java.util.List;
import com.health.record.domain.MedicalAppointmentDetail;

/**
 * 预约Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-30
 */
public interface MedicalAppointmentDetailMapper 
{
    /**
     * 查询预约
     * 
     * @param detailId 预约主键
     * @return 预约
     */
    public MedicalAppointmentDetail selectMedicalAppointmentDetailByDetailId(Long detailId);

    /**
     * 查询预约列表
     * 
     * @param medicalAppointmentDetail 预约
     * @return 预约集合
     */
    public List<MedicalAppointmentDetail> selectMedicalAppointmentDetailList(MedicalAppointmentDetail medicalAppointmentDetail);

    /**
     * 新增预约
     * 
     * @param medicalAppointmentDetail 预约
     * @return 结果
     */
    public int insertMedicalAppointmentDetail(MedicalAppointmentDetail medicalAppointmentDetail);

    /**
     * 修改预约
     * 
     * @param medicalAppointmentDetail 预约
     * @return 结果
     */
    public int updateMedicalAppointmentDetail(MedicalAppointmentDetail medicalAppointmentDetail);

    /**
     * 删除预约
     * 
     * @param detailId 预约主键
     * @return 结果
     */
    public int deleteMedicalAppointmentDetailByDetailId(Long detailId);

    /**
     * 批量删除预约
     * 
     * @param detailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMedicalAppointmentDetailByDetailIds(Long[] detailIds);
}
